package com.yw.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yw.heroInfo.domain.Hero;
import com.yw.heroInfo.vo.HeroQueryVO;

import java.util.List;

public interface HeroService extends IService<Hero> {
    //查询该城市下所有英雄
    public List<Hero> getAllHeroByCityId(Integer cityId);
    //查询该战争下所有英雄
    public List<Hero> getAllHeroByWarId(Integer warId);
    //查询该栏目下所有英雄
    public List<Hero> getAllHeroByColumnId(Integer columnId);
    //根据事迹查询英雄信息
    public Hero getHeroByDeed(String deed);
    //查询英雄名录和城市
    public List<HeroQueryVO> listHeroNameAndCity();
}
